package com.lanyan.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import com.lanyan.system.domain.BalanceHistory;
import com.lanyan.system.domain.vo.BalanceHistoryVo;

/**
 * 余额流水Service接口
 *
 * @author lanyan
 * @date 2024-11-26
 */
public interface IBalanceHistoryService extends IService<BalanceHistory>
{
    /**
     * 查询余额流水
     *
     * @param balanceHistoryId 余额流水主键
     * @return 余额流水
     */
    public BalanceHistory selectBalanceHistoryByBalanceHistoryId(Long balanceHistoryId);

    /**
     * 查询余额流水列表
     *
     * @param balanceHistory 余额流水
     * @return 余额流水集合
     */
    public List<BalanceHistory> selectBalanceHistoryList(BalanceHistory balanceHistory);

    /**
     * 查询余额流水Vo列表
     *
     * @param balanceHistory 余额流水
     * @return 余额流水集合
     */
    public List<BalanceHistoryVo> selectBalanceHistoryVoList(BalanceHistory balanceHistory);

    /**
     * 新增余额流水
     *
     * @param balanceHistory 余额流水
     * @return 结果
     */
    public boolean insertBalanceHistory(BalanceHistory balanceHistory);

    /**
     * 修改余额流水
     *
     * @param balanceHistory 余额流水
     * @return 结果
     */
    public boolean updateBalanceHistory(BalanceHistory balanceHistory);

    /**
     * 批量删除余额流水
     *
     * @param balanceHistoryIds 需要删除的余额流水主键集合
     * @return 结果
     */
    public boolean deleteBalanceHistoryByBalanceHistoryIds(Long[] balanceHistoryIds);

    /**
     * 删除余额流水信息
     *
     * @param balanceHistoryId 余额流水主键
     * @return 结果
     */
    public boolean deleteBalanceHistoryByBalanceHistoryId(Long balanceHistoryId);
}
